using System;
using System.Collections.Generic;



namespace CodePlex.Resourceful.Examples
{
    public static class Program
    {

        public static void Main(string[] args)
        {
            try
            {
                // simple examples using the resourceful api
                // some use the base Client, others have service-specific Client subclasses
                // when necessary, remote account information is obtained from system environment variables
                // note: you typically need to restart visual studio for env var changes to take effect


           

                // amazon web services examples
                // http://aws.amazon.com
                // require environment var: AWS=<accesskeyid>:<secretaccesskey>

                // S3Example.Run();          // amazon s3
                // EC2Example.Run();         // amazon ec2
                // ECSExample.Run();         // amazon product advertising api (formerly known as a2s, which was formerly known as ecs)
                //SimpleDBExample.Run();    // amazon's simpledb service
                // SQSExample.Run();         // amazon's simple queue service



                //AzureBlobStorageExample.Go();   // azure blob storage
                //AzureQueueExample.Run();      // azure queues
                //AzureTableExample.Run();      // azure tables


                // example bookmark service described in the book RESTful Web Services
                // BookmarkServiceExample.Run();



                // metaweb/freebase
                // http://www.freebase.com
                // require environment var: METAWEB_USER=<beta cookie value> (see pg 63 of the api doc)
                // MetawebExample.Run();



                // stikkit api
                // http://stikkit.com/api
                // require environment var: STIKKIT=<api key>
                // StikkitExample.Run();



                // del.icio.us API 
                // http://del.icio.us/help/api/
                // require environment var: DEL_ICIO_US=<username>:<password>
                // DeliciousExample.Run();



                // gdata api
                // require var:  GOOGLE=<email>:<password>
                // GDataExample.Run();



                // MS live labs: astoria  (entity-framework over http)
                // http://astoria.mslivelabs.com/
                // AstoriaExample.Run();



                // Silverlight Streaming API 
                // http://dev.live.com/silverlight/api.aspx
                // require environment var: SILVERLIGHT_STREAMING=<accountid>:<accountsecret>
                // SilverlightStreamingExample.Run();


                // Sun Cloud Storage API
                //SunCloudStorageExample.Run();

              

               
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
                
            }
            Utils.Prompt();
          
        }



        

        
       
    }
}
